package groups.diseases.dao;

import java.sql.Connection;

import groups.common.dao.JDBCGenericDAO;
import groups.common.dao.SQLTable;
import groups.diseases.EtiologicalAgent;

public class JDBCEtiologicalAgentDAO extends JDBCGenericDAO<EtiologicalAgent> {
	
	public JDBCEtiologicalAgentDAO(Connection connection) throws SecurityException, NoSuchMethodException{
		table = new SQLTable(EtiologicalAgent.class,"EtiologicalAgent",connection);
		table.addColumnMethod("idEtiologicalAgent", "getId", true, true);
		table.addColumnMethod("name", "getName", false, false);
		
	}
}
